<template>
	<view class="">
		<view style="padding: 20rpx 0;" v-if="imgList.length != 0">
			<view class="img-style" v-for="(item,index) in imgList" :key="index" >
				<img src="../../static/img1.jpg" alt="" style="width: 100%; height: 100%; border-radius: 16rpx;">
			</view>
			
		</view>
		<view class="no-img" v-else>暂无数据!</view>
	</view>
	
</template>

<script>
	export default {
		data() {
			return {
				imgList:[1,2,3,4,5,6,7,8]
			}
		},
		methods: {
			
		},
		onLoad(){

			this.imgList = uni.getStorageSync('userNameInfo').images
		}
	}
</script>

<style>
.img-style{
	width: 95%;
	height: 200rpx;
	margin: 20rpx auto;
	
}
.no-img{
	text-align: center;
	margin-top: 100rpx;
	color: #888383;
}
</style>
